package com.guaoran.spring.demo.cyclicdependence;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author gucheng
 * @Description
 *  循环依赖
 * 2019-03-12 14:02
 */
@Service
public class BeanA {

    @Autowired
    private BeanB beanB;

    public void testA(){
        System.out.println("BeanA test...");
//        beanB.testB();
    }
}
